<?php
/**
 * @version		$Id: default.php 17130 2010-05-17 05:52:36Z eddieajau $
 * @package		Joomla.Site
 * @subpackage	com_je_faq
 * @copyright	Copyright (C) 2005 - 2010 Open Source Matters, Inc. All rights reserved.
 * @license		GNU General Public License version 2 or later; see LICENSE.txt
 */

// no direct access
defined('_JEXEC') or die;
?>
<style type="text/css">
<!--
.faq-title {
	font-size: 13px;
	font-weight: bold;
	margin: 5px 0;
}
-->
</style>

<script type="text/javascript">
<!--
jQuery().ready(function($){
	//$("#faqs .faq-content:not(:first)").hide();
	$("#faqs .faq-title").click(function(){
		$accordion = $(this).next();
		if ($accordion.is(':hidden') === true) {
			$("#faqs .faq-content").slideUp();
			$accordion.slideDown();
		}
	});
});
//-->
</script>

<div class="box-header">
	Trợ giúp
</div>
<div id="faqs">
<?php foreach($this->items as $item): ?>

	<div class="faq-title">&bull; <?php echo $item->name;?></div>
	<div class="faq-content"><?php echo $item->description; ?></div>

<?php endforeach; ?>
</div>